<{extend name="public/layout"}>

<{block name="h1"}>添加客服<{/block}>

<{block name="breadcrumb"}>
<li><a href="<{:url('index')}>">客服管理</a></li>
<li class="active">添加客服</li>
<{/block}>

<{block name="content"}>
<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-body">
                <form action="" method="post" onsubmit="return false;" id="form-edit" class="form-horizontal">
                    <div class="form-group">
                        <label class="control-label col-sm-2 col-xs-12" for="username">账号</label>
                        <div class="col-xs-12 col-sm-10">
                            <input type="text" class="form-control" placeholder="请输入账号" name="username" id="username">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-2 col-xs-12" for="password">密码</label>
                        <div class="col-xs-12 col-sm-10">
                            <input type="password" class="form-control" placeholder="请输入密码" name="password" id="password">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-2 col-xs-12" for="group_id">所属分组</label>
                        <div class="col-xs-12 col-sm-10">
                            <select class="form-control" name="group_id">
                                <{volist name="groups" id="group"}>
                                <option value="<{$group.id}>"><{$group.title}></option>
                                <{/volist}>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">状态</label>
                        <div class="col-xs-12 col-sm-10">
                            <label><input type="radio" class="minimal" value="normal" name="status" checked> 正常</label>
                            <label><input type="radio" class="minimal" value="hidden" name="status"> 禁用</label>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="row">
                            <div class="col-xs-offset-3">
                                <button type="submit" class="btn btn-primary" id="btn-submit">提交</button>
                                <button class="btn btn-default btn-back">返回</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<{/block}>